.main-contenter {
    width: 100vw;
    height: 100vh;
}

.top-nav {
    box-sizing: border-box;
    width: 100%;
    height: 3vw;
    padding: 0 10vw;
    background-color: rgb(51, 51, 51);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: rgb(158, 158, 158);
    font-size: 0.9vw;
}

.left-box {
    display: flex;
    width: 50vw;
    justify-content: space-evenly;
    align-items: center;
}
.left-box a {
    color: rgb(158, 158, 158);
    list-style: none;
    text-decoration: none;
}

.left-box a:hover {
    color: #fff;
}

.stri {
    /* 父元素相对定位 */
    position: relative;
}

.stri .sub-box {
    display: none; 
    /* 子元素绝对定位 */
    position: absolute;
    left: 50%;
    bottom: -12vw;
    transform: translateX(-50%);
    font-size: 1.1vw;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    padding: 0.5vw;
}

.stri .sub-box::after {
    --size: 0.5vw;
    content: "";
    display: block;
    background-color: #fff;
    width: var(--size);
    height: var(--size);
    border-top: 1vw solid #fff;
    border-left: 1vw solid #fff;
    position: absolute;
    left: 50%;
    top: 0;
    transform: rotate(45deg) translateX(-50%);
}

.stri:hover .sub-box {
    display: block;
}

.stri:hover .sub-box::after {
    display: block;
}

.right-box {
    display: flex;
}
.login-box a{
    color: rgb(158, 158, 158);
    list-style: none;
    text-decoration: none;
}
.login-box a:hover{
    color:#fff;
}
.login-box, .cart-box {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.login-box {
    width: 10vw;
}

.cart-box {
    background-color: rgb(66, 66, 66);
    padding: 0 2vw;
    position: relative;
}

.cart-box .icon {
    /* 这个是一个css变量 */
    --size: 1.5vw;
    width: var(--size);
    height: var(--size);
    background-image: url(../img/购物车空.svg);
    background-size: contain;
    margin-right: 0.5vw;
    transition: all .3s;
}

.cart-box:hover {
    background-color: #fff;
    color: rgb(255, 103, 0);
}

.cart-box:hover .icon {
    background-image: url(../img/购物车空橙.svg);
}

.cart-box .cart-text {
    display: none;
    position: absolute;
    bottom: -2.7vw;
    width: 18vw;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    color: rgb(173,173,173);
    padding: 0.6vw;
    font-size: 1vw;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.cart-box:hover .cart-text {
    display: block;
}

.main {
    padding: 0 10vw;
}

.second-nav {
    box-sizing: border-box;
    background-color: #fff;
    width: 100%;
    height: 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1vw 0;
}

.second-nav .logo {
    --size: 4vw;
    width: var(--size);
    height: var(--size);
}

.second-nav .logo img {
    width: var(--size);
    height: var(--size);
}

.nav-box {
    width: 68vw;
    display: flex;
    justify-content: space-between;
}

.nav-list {
    display: flex;
    width: 40vw;
    justify-content: space-around;
    align-items: center;
}

.nav-list a {
    color: #000;
    text-decoration: none;
    padding: 2vw 0;
}

.nav-list a:hover {
    color: rgb(255, 103, 0);
}

.search {
    display: flex;
    width: 20vw;
    height: 3vw;
    justify-content: flex-end;
    align-items: center;
}

.search .my-input {
    flex: 1;
    height: 100%;
    outline: none;
    border: 1px solid rgb(118, 118, 118);
    line-height: 2vw;
    padding: 0.5vw;
    box-sizing: border-box;
}

.search .my-input:empty::after {
    content: "充电宝";
    display: block;
    color: #888;
}

.iconsearch {
    --size: 3vw;
    width: var(--size);
    height: var(--size);
    background-image: url(../img/搜索.svg);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid rgb(118, 118, 118);
    box-sizing: border-box;
}

.iconsearch:hover {
    background-color: rgb(255, 103, 0);
    background-image: url(../img/搜搜白.svg);
    border: 1px solid rgb(255, 103, 0);
}

.banner {
    display: flex;
    width: 100%;
    height: 30vw;
}

.left-banner {
    flex: 1;
    height: 100%;
    background-color: rgb(60, 60, 60);
    display: flex;
    flex-direction: column;
}

.left-banner > div {
    --h: 3vw;
    height: var(--h);
    line-height: var(--h);
    box-sizing: border-box;
    color: #fff;
    padding-left: 2vw;
    position: relative;
}

.left-banner > div:hover {
    background-color: rgb(255, 103, 0);
}

.left-banner > div::after {
    content: "";
    display: block;
    --size: 0.5vw;
    width: var(--size);
    height: var(--size);
    border-top: 0.2vw solid #fff;
    border-right: 0.2vw solid #fff;
    position: absolute;
    top: 50%;
    right: 1.5vw;
    transform: rotate(45deg) translateY(-50%);
}

.right-banner {
    width: 62vw;
    height: 100%;
    position: relative;
}

.right-banner .btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2vw;
    height: 3vw;
    background-color: #8888885f;
    color: #fff;
    line-height: 3vw;
    text-align: center;
    user-select: none;
}

.right-banner .l {
    left: 0;
}

.right-banner .r {
    right: 0;
}

.banner-box {
    width: 100%;
    height: 30vw;
}

.banner-box > div {
    width: 100%;
    height: 100%;
    background-image: var(--icon);
    background-size: cover;
    background-position: center;
    display: none;
}

.banner-box > div.active {
    display: block;
}

.ad {
    display:flex;
    flex-wrap:wrap;
    width: 100%;
    height: 14vw;
    padding: 2vw 0;
}

.left-ad {
    flex: 1;
    height: 100%;
    display:flex;
    flex-wrap: wrap;
    background-color: #5f5750;
}

.left-ad > div {
    flex: 0 0 33.33%;
    box-sizing: border-box;
    text-align: center;
    color: #cfcdcb;
}

.left-ad img {
    padding:0.8vw 1.2vw;
}

.left-ad > div:hover {
    color: #fff;
}


.right-ad {
    display:flex;
    width: 62vw;
    height: 100%;
}

.right-ad>div {
    padding:0 0 0 0.66vw;
}

.right-ad img {
    width: 20vw;
    height: 100%;
}

.right-ad img:hover {
    box-shadow: 0px 0px 10px rgba(201, 189, 189, 0.612);
}

.shop-list {
    box-sizing: border-box;
    width: 100vw;
    background-color: rgb(245, 245, 245);
    padding: 0 10vw;
    padding-top: 1vw;
}

.big-ad {
    width: 100%;
    margin-bottom: 1vw;
}

.big-ad img {
    width: 100%;
    height: 6vw; 
}

.content-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 2vw;
}

.content-top {
    --h: 2vw;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: var(--h);
    line-height: var(--h);
    font-size: 1.2vw;
    color: rgb(176, 176, 176);
    margin-bottom: 1vw;
}

.content-right-box {
    font-size: 1vw;
}

.ct-img {
    width: 100%;
    display: flex;
    gap: 1vw;
}

.ct-left-img {
    width: 20%;
    background-image: url(../img/手机左.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #fff;
}

.ct-right-img {
    flex: 1;
    display: flex;
    gap: 1vw;
    flex-direction: row;
    flex-wrap: wrap;
}

.ct-right-img > div {
    width: calc((100% - 3vw) / 4);
    background-color: #fff;
}

.ct-right-img > div > img {
    display: block;
    width: 80%;
    margin: 0 auto;
}

.ct-right-img > div > div {
    text-align: center;
    padding-bottom: 1vw;
}

.botton-img {
    width: 100%;
    height: 10vw;
    background-image: url(../img/小米巨能与中性笔.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 2vw;
}

.botton-all {
    margin: 0 10vw;
}

.botton-top {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin: 2vw 0;
    border-bottom: 1px solid rgb(235, 228, 228);
    cursor: pointer;
}

.botton-top > div {
    flex: 1;
    text-align: center;
    border-left: 1px solid rgb(235, 228, 228);
    margin-bottom: 1vw;
    color: rgb(210, 210, 210);
    font-size: 1.2vw;
}

.botton-top > div:hover {
    color: rgb(255, 103, 0);
}
.botton-top > div:first-child {
    border-left: 0px solid #000;
}

.botton-second {
    display: flex;
}

.botton-second-left {
    flex: 4;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.botton-second-left > ul {
    flex: 1;
}
.botton-second-left ul {
    list-style: none;
    text-decoration: none;
    text-align: center;
    color:rgb(210,210,210);
}

.botton-second-left > ul > li:first-child {
    font-size: 1vw;
    margin-bottom: 0.5vw;
}

.botton-second-left>ul>li:not(:first-child) {
    font-size: 0.8vw;
    padding-top: 0.2vw;
    cursor: pointer;
}
.botton-second-left > ul > li:not(:first-child):hover {
    color:rgb(255, 103, 0);
}

.botton-second-right {
    flex: 1;
}

.botton-second-right > .number {
    color: rgb(255, 103, 0);
    font-size: 1vw;
    margin-bottom: 0.2vw;
}

.botton-second-right > .time {
    color: rgb(210, 210, 210);
    font-size: 0.8vw;
    margin-bottom: 0.2vw;
}

.botton-second-right>.phone {
    font-size: 1vw;
    color: rgb(255, 103, 0);
    background-color: #fff;
    border: 1px solid rgb(255, 103, 0);
    width: 6vw;
    text-align: center;
    margin-bottom: 0.4vw;
}

.botton-second-right>.phone:hover {
    color: #fff;
    background-color: rgb(255, 103, 0);
}
.tool-list {
    display: none;
    padding: 0;
    width: 2vw;
    background-color: #000;
}